package com.ctd.springframework.core;

/**
 * NestedRuntimeException
 *
 * @author chentudong
 * @date 2019/3/24 20:12
 */
public class NestedRuntimeException extends RuntimeException {
    static {
        // Eagerly load the NestedExceptionUtils class to avoid classloader deadlock
        // issues on OSGi when calling getMessage(). Reported by Don Brown; SPR-5607.
        NestedExceptionUtils.class.getName();
    }

    public NestedRuntimeException(String msg) {
        super(msg);
    }

    public NestedRuntimeException(String msg, Throwable cause) {
        super(msg, cause);
    }
}
